import RequestHttp from "../../utils/request";
import { Hero, HeroDetail } from "../types/hero";


export const getHeroListAPI = (params:object)=>RequestHttp.get<Hero[]>('/api/lol/search',params)

export const getHeroDetailAPI =(params:object)=>RequestHttp.get<HeroDetail>('/api/lol/inFo',params)